package com.qianxun.spider.http;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author: huwei
 * @date: 2020/7/15 11:14
 * @version: 1.0.0
 */
@Data
@Accessors(chain = true)
public class HttpProxy {
    private String host;
    private int port;

    public HttpProxy(String host, int port) {
        this.host = host;
        this.port = port;
    }

    @Override
    public String toString() {
        return "HttpProxy{" +
                "host='" + host + '\'' +
                ", port=" + port +
                '}';
    }
}
